home *** CD-ROM | disk | FTP | other *** search
Wrap
FullOffset 1.0 par Frédéric RINALDI DESCRIPTION FullOffset is an extension to offset() internal HyperTalk instruction. It allows to define to search mode as well as starting char. SYNTAX FullOffset(<pattern>,<text>[,<offset>][,<international>]) PARAMETERS <pattern> is the string to be searched. <text> is the string where <pattern> will be searched. <offset> is an integer giving the starting char. Default is 1. <international> is a boolean telling if the search must ignore diacritical marks (true) or be full ASCII (false). Default is true. Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output). USING The XFCN returns the char number of the found pattern, 0 is not found. The search is not case-sensitive. ERRORS If an error occurs, FullOffset can return : "Error : Missing parameter(s)" "Error : Pattern cannot exceed 255 chars" "Error : Offset param must be a positive integer" HISTORY 1.0 12/25/91 • First release -------------------------------------------------------------------- All externals included in this stack are FreeWare and may be used in non-commercial software provided the following notice is visibly present : FullOffset XFCN, © Frederic Rinaldi, 1989…1993. Free for non-commercial use. Use in commercial software subjected to prior acknowledgement and licensing from the author, reachable at the following network addresses: AppleLink: RINALDI1 CalvaCom : FR10 Compuserve : 71170,2111 Internet : RINALDI1@APPLELINK@APPLE.COM